package com.platform.data.handle.converter.impl;

import com.platform.data.handle.converter.DataTypeEnum;
import com.platform.data.handle.converter.AbstractDataTypeProcessHandler;

import java.util.ArrayList;
import java.util.List;

/**
 * 数组[对象]
 *
 * @author zhuweijun
 * @version 1.0.0
 * @since 2025/5/13 14:07
 */
public class ArrayObjectTypeProcessHandler extends AbstractDataTypeProcessHandler {

    /**
     * 数组[对象]
     *
     * @param typeEnum typeEnum
     * @param fieldName fieldName
     * @param fieldValue fieldValue
     * @return {@link Object}
     */
    @Override
    public Object process(DataTypeEnum typeEnum, String fieldName, String fieldValue) {
        List<Object> objectList = new ArrayList<>();
        objectList.add(fieldValue);
        return objectList;
    }
}
